package com.aqie.demo.utils;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class SnowFlakeUtils {
	private SnowFlakeUtils(){}

	private static class SingletonInstance {
		private static final Snowflake INSTANCE =  IdUtil.getSnowflake(1, 1);
	}
	public static Snowflake getInstance() {
		return SingletonInstance.INSTANCE;
	}
}
